/*
 * User: rant
 * Date: 21/01/2007
 *
 *
 */
package laMalinche.rete.conditions;

import java.util.*;

/**
 *
 */
public class EmptyFieldCondition extends FieldCondition {

	public boolean isDisjunction() {
		return false;
	}

	public boolean isComplied() {
//		boolean executed = true;
        //		adviseStarted();
//		try {
        boolean complied = null == getPropertyFinder().getProperty(getOgnl()).getValue();
//		} catch (StopEvaluatingException e) {
//			executed = false;
//		}
//		adviseFinished(executed);
//		if (!executed) {
//			throw new StopEvaluatingException();
//		}
		return complied;
	}

	@Override
	protected Set<String> getExcludedFields() {
		return null;
	}
}